#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QLabel>
#include <QRadioButton>
#include <QPushButton>
#include <QLineEdit>

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();
    void creater();
    void handler();
private:
    Ui::Widget *ui;
    QLabel*label_name;
    QLabel*label_password;
    QLabel*label_sex;
    QLabel*label_phone;

    QLineEdit*line_name;
    QLineEdit*line_password;
    QLineEdit*line_phone;

    QRadioButton*radio_man;
    QRadioButton*radio_woman;

    QPushButton*button_submit;//提交按钮
};
#endif // WIDGET_H
